package com.swsc.solarverse.dao.mapper.analysis;

import com.swsc.solarverse.common.mybatis.BasePlusMapper;
import com.swsc.solarverse.dao.entity.analysis.StringEfficiencyDayDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author AutoGenerator
 * @since 2022-08-30
 */
@Mapper
public interface StringEfficiencyDayMapper extends BasePlusMapper<StringEfficiencyDayDO> {
    /**
     * 统计月
     * @return
     */
    List<StringEfficiencyDayDO> sumMonth(@Param("year") Integer year, @Param("month") Integer month);

    /**
     * 统计年
     * @return
     */
    List<StringEfficiencyDayDO> sumYear(@Param("year") Integer year);

    /**
     * 统计累计
     * @return
     */
    List<StringEfficiencyDayDO> sumTotal();
}
